const webpack = require("webpack"),
path = require("path");


module.exports = {
    entry:path.resolve("src","OneTake.js"),
    output:{
        library:"OneTake",
        path:path.resolve("dist"),
        filename:"[name].js",
        libraryTarget:"umd"
    },
    module:{
        rules:[
            {
                test:/\.js$/,
                exclude:/node_modules/,
                loader:"babel-loader"

            }
        ]
    }
}